
#include "gtest/gtest.h"

#include "BinaryTree.h"

int count = 0;
BinaryTree<int> a, x, y, z;

TEST( BinaryTreeTest, Simple )
{
    y.MakeTree(1,a,a);
    z.MakeTree(2,a,a);
    x.MakeTree(3,y,z);
    y.MakeTree(4,x,a);
    // cout << "Preorder sequence is ";
    // y.PreOutput();
    // cout << "Inorder sequence is ";
    // y.InOutput();
    // cout << "Postorder sequence is ";
    // y.PostOutput();

    EXPECT_EQ( 4, y.Size() );

    EXPECT_EQ( 3, y.Height() );
}

#include "main_stub.h"

